#ifndef PDU_H
#define PDU_H

#include <QByteArray>
/**
 * @brief The PDU class
 * PDU类，将发送的短信转化成PDU编码
 *
 *
 */

class PDU
{
public:
    PDU() {}
    const QByteArray& getContent() const {
        return m_con;
    }
    void setContent(const QByteArray& con) {
        m_con = con;
    }
    void setLen(int len) {
        m_len = len;
    }

    int getLen() const {
        return m_len;
    }

    PDU& operator = (const PDU& obj) {
        this->m_con = obj.m_con;
        this->m_len = obj.m_len;
        return *this;
    }

private:
    QByteArray m_con;
    int m_len;

};


#endif // PDU_H
